package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 事件具体扣分人员表
 * 
 * @author 刘昆
 *
 */
@Entity
@Table(name = "sl_wcsi_EventProcessToEvaluateUser")
public class EventProcessToEvaluateUser extends Root{

	@ManyToOne 
	@JoinColumn(nullable = true,name="registerEvent")
	private EventRegister registerEvent;
	
	@ManyToOne 
	@JoinColumn(nullable = true,name="registerUser")
	private User registerUser;
	
	@ManyToOne 
	@JoinColumn(nullable = true,name="processType")
	private Option processType;
	
	@Column(nullable=true,name="taskId")
	private String taskId;
	
	@Column(nullable = true,name="scale")
	private double scale;//分数
	
	@Column(nullable = true,name="accTime")
	private Date accTime;//任务发生时间

	public Date getAccTime() {
		return accTime;
	}

	public void setAccTime(Date accTime) {
		this.accTime = accTime;
	}

	public EventRegister getRegisterEvent() {
		return registerEvent;
	}

	public void setRegisterEvent(EventRegister registerEvent) {
		this.registerEvent = registerEvent;
	}

	public User getRegisterUser() {
		return registerUser;
	}

	public void setRegisterUser(User registerUser) {
		this.registerUser = registerUser;
	}

	public Option getProcessType() {
		return processType;
	}

	public void setProcessType(Option processType) {
		this.processType = processType;
	}
	
	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public double getScale() {
		return scale;
	}

	public void setScale(double scale) {
		this.scale = scale;
	}
}
